#![allow(non_camel_case_types)]
#![allow(dead_code)]
#![allow(non_snake_case)]

use crate::*;

// type Rounding = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
pub type Rounding<'val> = number<'val>;

// type Modulo = Rounding | 9;
pub type Modulo<'val> = number<'val>;

// type Value = string | number | Decimal;
// pub type Value<'val> = Value<'val>;

// interface DecimalConfig {
pub trait DecimalConfig<'val>: InterFace<'val> {}

// declare class Decimal {
pub struct Decimal<'val>(pub Value<'val>);
IMPL_NAPI!(Decimal, Value);

pub use Decimal as default;
